import { messages } from "share/common";

const documentExample = {
  //申请单 提单量
  submitAppBillMthlyQtyStatistics: [1150, 2250, 1100, 1150, 2200, 1800, 1100, 1950, 1020, 1500, 1150, 1700],
  //申请单 结单量
  approvedAppBillMthlyQtyStatistics: [1150, 2250, 1100, 1150, 2200, 1800, 1100, 1950, 1020, 1500, 1150, 1700],
  //报销单 提单量
  submitExpRptMthlyQtyStatistics: [1500, 2200, 1700, 1500, 1300, 1000, 1800, 2100, 1700, 1500, 1550, 2400],
  //报销单 结单量
  approvedExpRptMthlyQtyStatistics: [1500, 2200, 1700, 1500, 1300, 1000, 1800, 2100, 1700, 1500, 1550, 2400],
  //借款单 提单量
  submitLoanBillMthlyQtyStatistics: [450, 1400, 400, 300, 600, 250, 200, 1400, 450, 490, 1100, 1700],
  //借款单 结单量
  approvedLoanBillMthlyQtyStatistics: [450, 1400, 400, 300, 600, 250, 200, 1400, 450, 490, 1100, 1700],
  //对公支付单 提单量
  submitPublicPayBillMthlyQtyStatistics: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
  //对公支付单 结单量
  approvedPublicPayBillMthlyQtyStatistics: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
  //机票 用量
  airTktUsedMthlyQtyStatistics: [50, 100, 80, 100, 180, 120, 100, 210, 180, 100, 150, 100],
  //机票 主要供应商
  airTktMasterSupplierStatistics: [
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
  ],
  //酒店 用量
  hotelUsedMthlyQtyStatistics: [180, 210, 200, 400, 300, 200, 250, 350, 250, 200, 230, 210],
  //酒店 主要供应商
  hotelMasterSupplierStatistics: [
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
  ],
  //火车 用量
  trainUsedMthlyQtyStatistics: [260, 230, 200, 400, 250, 150, 175, 200, 150, 250, 150, 170],
  //火车 主要供应商
  trainMasterSupplierStatistics: [
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
    "甄选",
  ],
  //用车 用量
  carUsedMthlyQtyStatistics: [60, 110, 160, 100, 200, 310, 270, 230, 300, 340, 280, 300],
  //用车 主要供应商
  carMasterSupplierStatistics: [
    "滴滴出行",
    "滴滴出行",
    "滴滴出行",
    "高德打车",
    "滴滴出行",
    "高德打车",
    "高德打车",
    "滴滴出行",
    "高德打车",
    "高德打车",
    "滴滴出行",
    "高德打车",
  ],
};

const orcExample = {
  ocrUsedMthlyQtyStatistics: [11000, 21000, 34500, 2000, 14000, 18500, 28500, 48000, 23500, 15000, 28000, 34000],
};

const invoiceExample = {
  chkInvUsedMthlyQtyStatistics: [30000, 24000, 17500, 21000, 15000, 26000, 31000, 27000, 20000, 24000, 25500, 25000],
};

const latestDocument = [
  {
    businessCode: "TA0089021",
    formName: messages("basic-1.key285") /*采购申请单*/,
    formType: "2006",
    currencyCode: "CNY",
    status: 1001,
    lastModifiedDate: "2019-02-01T01:00:00Z",
    baseCurrencyAmount: 9000,
    totalAmount: 9000,
    approvalHistorys: [
      {
        operator: {
          fullName: "William",
        },
        operationDescription: messages("basic-1.key286") /*提交单据*/,
      },
    ],
    rejectType: 1000,
    title: messages("basic-1.key287") /*购买笔记本电脑*/,
  },
  {
    businessCode: "ER00000518",
    formName: messages("basic-1.key288") /*日常报销单*/,
    formType: "3001",
    currencyCode: "CNY",
    status: 1007,
    lastModifiedDate: "2019-01-31T08:00:00Z",
    baseCurrencyAmount: 1800,
    totalAmount: 1800,
    approvalHistorys: [
      {
        operator: {
          fullName: "Emma",
        },
        operationDescription: messages("basic-1.key118") /*已付款*/,
      },
    ],
    rejectType: 1000,
    title: messages("basic-1.key289") /*1月加班餐费和打车补贴费用*/,
  },
  {
    businessCode: "TA00006001",
    formName: messages("basic-1.key290") /*差旅申请单*/,
    formType: "3001",
    currencyCode: "CNY",
    status: 1005,
    lastModifiedDate: "2019-01-15T04:00:00Z",
    baseCurrencyAmount: 2600,
    totalAmount: 2600,
    approvalHistorys: [
      {
        operator: {
          fullName: "James",
        },
        operationDescription: messages("basic-1.key291") /*审批通过*/,
      },
    ],
    rejectType: 1000,
    title: messages("basic-1.key259") /*出差去北京见xx客户*/,
  },
];

const dashboardReportData = {
  array: {
    amountList: [12580, 15020, 12049, 9257, 10250, 11500, 11950, 14600, 6790, 9580, 12050, 7921],
    paidAmountList: [12580, 15020, 12049, 9257, 10250, 11500, 11950, 14600, 6790, 9580, 12050, 5821],
    payingAmountList: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2100],
  },
  feesDetailArray: [
    {
      data: [
        {
          expenseTypeName: messages("basic-1.key260") /*招待*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/foodbeverage@3x.png",
          totalAmount: 6200,
        },
        {
          expenseTypeName: messages("basic-1.key28") /*机票*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/airTickets@3x.png",
          totalAmount: 3280,
        },
        {
          expenseTypeName: messages("basic-1.key261") /*住宿*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/apartmentrental@3x.png",
          totalAmount: 1400,
        },
        {
          expenseTypeName: messages("basic-1.key262") /*快递*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/express@3x.png",
          totalAmount: 780,
        },
        {
          expenseTypeName: messages("basic-1.key263") /*通讯*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/communication@3x.png",
          totalAmount: 200,
        },
      ],
    },
    {
      data: [
        {
          expenseTypeName: messages("basic-1.key264") /*房屋租金*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/depositCompensation-2@3x.png",
          totalAmount: 10000,
        },
        {
          expenseTypeName: messages("basic-1.key265") /*福利*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/present@3x.png",
          totalAmount: 2000,
        },
        {
          expenseTypeName: messages("basic-1.key262") /*快递*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/express@3x.png",
          totalAmount: 620,
        },
        {
          expenseTypeName: messages("basic-1.key266") /*加班餐补*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/mealAllowance@3x.png",
          totalAmount: 500,
        },
        {
          expenseTypeName: messages("basic-1.key267") /*交通*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/transportation@3x.png",
          totalAmount: 300,
        },
      ],
    },
    {
      data: [
        {
          expenseTypeName: messages("basic-1.key268") /*办公用品*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/file@3x.png",
          totalAmount: 8000,
        },
        {
          expenseTypeName: messages("basic-1.key269") /*里程补贴*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/privateCarForPublic@3x.png",
          totalAmount: 1200,
        },
        {
          expenseTypeName: messages("basic-1.key270") /*餐饮*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/drink@3x.png",
          totalAmount: 1080,
        },
        {
          expenseTypeName: messages("basic-1.key271") /*体检*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/examination@3x.png",
          totalAmount: 380,
        },
        {
          expenseTypeName: messages("basic-1.key263") /*通讯*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/communication@3x.png",
          totalAmount: 200,
        },
      ],
    },
    {
      data: [
        {
          expenseTypeName: messages("basic-1.key272") /*水电燃气*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/file@3x.png",
          totalAmount: 5000,
        },
        {
          expenseTypeName: messages("basic-1.key28") /*机票*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/airTickets@3x.png",
          totalAmount: 1830,
        },
        {
          expenseTypeName: messages("basic-1.key261") /*住宿*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/apartmentrental@3x.png",
          totalAmount: 480,
        },
        {
          expenseTypeName: messages("basic-1.key270") /*餐饮*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/drink@3x.png",
          totalAmount: 540,
        },
        {
          expenseTypeName: messages("basic-1.key267") /*交通*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/transportation@3x.png",
          totalAmount: 160,
        },
      ],
    },
    {
      data: [
        {
          expenseTypeName: messages("basic-1.key264") /*房屋租金*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/depositCompensation-2@3x.png",
          totalAmount: 7000,
        },
        {
          expenseTypeName: messages("basic-1.key268") /*办公用品*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/file@3x.png",
          totalAmount: 1000,
        },
        {
          expenseTypeName: messages("basic-1.key270") /*餐饮*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/drink@3x.png",
          totalAmount: 320,
        },
        {
          expenseTypeName: messages("basic-1.key273") /*话费*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/communication@3x.png",
          totalAmount: 200,
        },
        {
          expenseTypeName: messages("basic-1.key267") /*交通*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/transportation@3x.png",
          totalAmount: 160,
        },
      ],
    },
    {
      data: [
        {
          expenseTypeName: messages("basic-1.key28") /*机票*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/airTickets@3x.png",
          totalAmount: 4280,
        },
        {
          expenseTypeName: messages("basic-1.key260") /*招待*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/foodbeverage@3x.png",
          totalAmount: 2200,
        },
        {
          expenseTypeName: messages("basic-1.key261") /*住宿*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/apartmentrental@3x.png",
          totalAmount: 980,
        },
        {
          expenseTypeName: messages("basic-1.key274") /*餐补*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/mealAllowance@3x.png",
          totalAmount: 500,
        },
        {
          expenseTypeName: messages("basic-1.key263") /*通讯*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/communication@3x.png",
          totalAmount: 200,
        },
      ],
    },
    {
      data: [
        {
          expenseTypeName: messages("basic-1.key268") /*办公用品*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/file@3x.png",
          totalAmount: 6000,
        },
        {
          expenseTypeName: messages("basic-1.key270") /*餐饮*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/drink@3x.png",
          totalAmount: 2080,
        },
        {
          expenseTypeName: messages("basic-1.key269") /*里程补贴*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/privateCarForPublic@3x.png",
          totalAmount: 1150,
        },
        {
          expenseTypeName: messages("basic-1.key275") /*档案*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/file@3x.png",
          totalAmount: 680,
        },
        {
          expenseTypeName: messages("basic-1.key263") /*通讯*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/communication@3x.png",
          totalAmount: 200,
        },
      ],
    },
    {
      data: [
        {
          expenseTypeName: messages("basic-1.key264") /*房屋租金*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/depositCompensation-2@3x.png",
          totalAmount: 7000,
        },
        {
          expenseTypeName: messages("basic-1.key270") /*餐饮*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/drink@3x.png",
          totalAmount: 1600,
        },
        {
          expenseTypeName: messages("basic-1.key32") /*火车*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/train@3x.png",
          totalAmount: 979,
        },
        {
          expenseTypeName: messages("basic-1.key263") /*通讯*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/communication@3x.png",
          totalAmount: 400,
        },
        {
          expenseTypeName: messages("basic-1.key262") /*快递*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/express@3x.png",
          totalAmount: 280,
        },
      ],
    },
    {
      data: [
        {
          expenseTypeName: messages("basic-1.key28") /*机票*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/airTickets@3x.png",
          totalAmount: 3280,
        },
        {
          expenseTypeName: messages("basic-1.key260") /*招待*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/foodbeverage@3x.png",
          totalAmount: 1700,
        },
        {
          expenseTypeName: messages("basic-1.key261") /*住宿*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/apartmentrental@3x.png",
          totalAmount: 580,
        },
        {
          expenseTypeName: messages("basic-1.key274") /*餐补*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/mealAllowance@3x.png",
          totalAmount: 380,
        },
        {
          expenseTypeName: messages("basic-1.key267") /*交通*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/transportation@3x.png",
          totalAmount: 165,
        },
      ],
    },
    {
      data: [
        {
          expenseTypeName: messages("basic-1.key268") /*办公用品*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/file@3x.png",
          totalAmount: 5000,
        },
        {
          expenseTypeName: messages("basic-1.key270") /*餐饮*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/drink@3x.png",
          totalAmount: 1280,
        },
        {
          expenseTypeName: messages("basic-1.key269") /*里程补贴*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/privateCarForPublic@3x.png",
          totalAmount: 900,
        },
        {
          expenseTypeName: messages("basic-1.key276") /*培训*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/meeting@3x.png",
          totalAmount: 380,
        },
        {
          expenseTypeName: messages("basic-1.key263") /*通讯*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/communication@3x.png",
          totalAmount: 200,
        },
      ],
    },
    {
      data: [
        {
          expenseTypeName: messages("basic-1.key277") /*会务*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/meetings@3x.png",
          totalAmount: 6000,
        },
        {
          expenseTypeName: messages("basic-1.key260") /*招待*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/foodbeverage@3x.png",
          totalAmount: 2800,
        },
        {
          expenseTypeName: messages("basic-1.key270") /*餐饮*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/drink@3x.png",
          totalAmount: 759,
        },
        {
          expenseTypeName: messages("basic-1.key261") /*住宿*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/apartmentrental@3x.png",
          totalAmount: 368,
        },
        {
          expenseTypeName: messages("basic-1.key267") /*交通*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/transportation@3x.png",
          totalAmount: 344,
        },
      ],
    },
    {
      data: [
        {
          expenseTypeName: messages("basic-1.key270") /*餐饮*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/drink@3x.png",
          totalAmount: 3800,
        },
        {
          expenseTypeName: messages("basic-1.key28") /*机票*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/airTickets@3x.png",
          totalAmount: 1800,
        },
        {
          expenseTypeName: messages("basic-1.key261") /*住宿*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/apartmentrental@3x.png",
          totalAmount: 880,
        },
        {
          expenseTypeName: messages("basic-1.key32") /*火车*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/train@3x.png",
          totalAmount: 460,
        },
        {
          expenseTypeName: messages("basic-1.key267") /*交通*/,
          iconUrl: "https://hly-static.oss-cn-shanghai.aliyuncs.com/expenseTypeIcon/transportation@3x.png",
          totalAmount: 260,
        },
      ],
    },
  ],
  knownData: {
    paidTotalAmount: "",
    payingTotalAmount: "",
  },
  stringData: {
    baseCurrencyCode: "CNY",
    totalAmount: "",
  },
};

export default { documentExample, orcExample, invoiceExample, latestDocument, dashboardReportData };
